package cn.foolishbird.hamal.frame.queryParam;

/**
 * @author Eric
 * @version 1.0
 * @date 2020-03-11
 */
public enum  SortEnum {
    ASC(1, "升序"),
    DESC(2, "降序")
    ;


    private int sort;

    private String desc;

    SortEnum(int sort, String desc) {
        this.sort = sort;
        this.desc = desc;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
